//
//  QLPersonalEditSignVC.m
//  神约
//
//  Created by qlwl on 17/2/20.
//  Copyright © 2017年 qlwl. All rights reserved.
//

#import "QLPersonalEditSignVC.h"

@interface QLPersonalEditSignVC ()<UITextViewDelegate>
@property (weak, nonatomic) IBOutlet UITextView *textView;
@property (weak, nonatomic) IBOutlet UILabel *hoderLab;

@end

@implementation QLPersonalEditSignVC

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    [self getMyNavBarWithNavTitle:@"个性签名" andRightTitle:@"保存" andRightIma:nil and:^(int tag) {
        if (self.saveSignName) {
            self.saveSignName(self.textView.text);
            [self.navigationController popViewControllerAnimated:YES];
        }
    }];
}

- (void)textViewDidChange:(UITextView *)textView
{
    self.hoderLab.hidden = textView.text.length;
}


@end
